GXInitPrinting
You can use theGXInitPrinting
function to initialize printing features within QuickDraw GX.
OSErr GXInitPrinting (void);
- function result
- An error code of type
OSErr
.DESCRIPTION
Before you call theGXInitPrinting
function, you must call theGXEnterGraphics
function to initialize QuickDraw GX. You should also use theGestalt
function to determine whether QuickDraw GX printing features are available on the user's system. TheGestalt
selector is'pmgr'
.SPECIAL CONSIDERATIONS
If theGXInitPrinting
function returns an error, you should not attempt to call other QuickDraw GX printing-related functions.RESULT CODES
gxSegmentLoadFailedErr A required code segment could not be found, or there was not enough memory to load it. SEE ALSO
TheGXEnterGraphics
function that initializes QuickDraw GX is described in Inside Macintosh: Environment and Utilities.To terminate printing features in QuickDraw GX, use the
GXExitPrinting
function, which is described in the next section.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help